<?php
/* @var $this UserController */
/* @var $model User */
?>

<?php if(Yii::app()->user->hasFlash('activate.success')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('activate.success');?>
</div>
<script type="text/javascript">
	setTimeout(function(){location.href="<?php echo  Yii::app()->getBaseUrl(true) ;?>/site/login"} , 3000);   
</script>
<?php elseif(Yii::app()->user->hasFlash('activate.error')): ?>

<div class="flash-error">
	<?php echo Yii::app()->user->getFlash('activate.error'); ?>
</div>

<?php endif; ?>	
	